import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
Vue.config.productionTip = false;
/* 懒人写法 */
import dao from './api/dao'
Vue.prototype.$dao = dao
Vue.prototype.$user = JSON.parse(localStorage.getItem('etoak_cms_user'))
Vue.prototype.$token = localStorage.getItem('etoak_cms_token')




import './permisson'
new Vue({
  router,
  render: (h) => h(App),
}).$mount("#app");
